package website.lhc.config.dbconfig;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @ProjectName: springboot
 * @Package: website.lhc.config.dbconfig
 * @ClassName: DataSource2Properties
 * @Author: lhc
 * @Description: TODO
 * @Date: 2020/7/15 上午 12:58
 */
//@Component
@ConfigurationProperties(prefix = "spring.datasource.hikari.db2")
public class DataSource2Properties {
    private ClassLoader classLoader;

    private String username;
    private String password;
    private String jdbcUrl;
    private String driverClassName;

    public ClassLoader getClassLoader() {
        return classLoader;
    }

    public void setClassLoader(ClassLoader classLoader) {
        this.classLoader = classLoader;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getJdbcUrl() {
        return jdbcUrl;
    }

    public void setJdbcUrl(String jdbcUrl) {
        this.jdbcUrl = jdbcUrl;
    }

    public String getDriverClassName() {
        return driverClassName;
    }

    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }
}
